﻿using MediatR;
using S.Common.ApiResult;
using S.Common.Enums.PregnancyTest;
using S.PregnancyTest.Domain.Model;

namespace S.PregnancyTest.Read.API.Application.Command
{
    public class GetPregnancyTestListCommand : IRequest<ApiResult<List<PregnancyTestModel>>>
    {

        public GetPregnancyTestListCommand(string? stateDate, string? endDate, string? monthEITag, int userId, PregnancytestResultEnum pregnancytestResult, ParityNumberEnum parityNumber, int pageIndex, int pageSize)
        {
            StateDate = stateDate;
            EndDate = endDate;
            MonthEITag = monthEITag;
            UserId = userId;
            PregnancytestResult = pregnancytestResult;
            ParityNumber = parityNumber;
            PageIndex = pageIndex;
            PageSize = pageSize;
        }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string? StateDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string? EndDate { get; set; }

        /// <summary>
        /// 种母耳号
        /// </summary>
        public string? MonthEITag { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 妊检结果
        /// </summary>
        public PregnancytestResultEnum PregnancytestResult { get; set; }

        /// <summary>
        /// 同胎数
        /// </summary>
        public ParityNumberEnum ParityNumber { get; set; }

        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int PageSize { get; set; }


    }
}
